import os
import pytest

from utils.log import log
from utils.mail import send_email

if __name__ == '__main__':
    log()
    pytest.main([r'C:\Users\34098\PycharmProjects\yue11.10\testcase\testcase.py','-s','--alluredir=./temp','--html=api_test_report.html'])
    os.system('allure generate temp -o allure_results clean')
    send_email()